/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using Newtonsoft.Json;

namespace JDCloudSDK.Bri.Model
{

    /// <summary>
    ///  packInfo
    /// </summary>
    public class PackInfo
    {

        ///<summary>
        /// 资源包类型
        ///</summary>
        public string PackageType{ get; set; }
        ///<summary>
        /// 来源，1-免费，2-付费
        ///</summary>
        public int? From{ get; set; }
        ///<summary>
        /// 总用量
        ///</summary>
        public string TotalAmount{ get; set; }
        ///<summary>
        /// 剩余用量
        ///</summary>
        public string BalanceAmount{ get; set; }
        ///<summary>
        /// 生效时间
        ///</summary>
        public string StartTime{ get; set; }
        ///<summary>
        /// 失效时间
        ///</summary>
        public string EndTime{ get; set; }
        ///<summary>
        /// 资源包id
        ///</summary>
        public string PackId{ get; set; }
        ///<summary>
        /// 是否需要爬虫ip
        ///</summary>
        public bool NeedSpiderIp{ get; set; }
        ///<summary>
        /// QPS上限
        ///</summary>
        public int? QpsLimit{ get; set; }
        ///<summary>
        /// 注册，登录，营销场景的版本
        ///</summary>
        [JsonProperty("version")]
        public int? VersionValue{ get; set; }
    }
}
